package com.atguigu.lease.admin.service;

import com.atguigu.lease.model.bean.LeaseAgreement;
import com.atguigu.lease.model.dto.AgreementQueryDto;
import com.atguigu.lease.model.vo.AgreementItemVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Service
* @createDate 2025-09-22 17:18:51
*/
public interface LeaseAgreementService extends IService<LeaseAgreement> {

    Page<AgreementItemVo> getPage(AgreementQueryDto queryDto);

    AgreementItemVo getAgreementItemVoById(Long id);

    void saveOrUpdateLeaseAgreement(LeaseAgreement leaseAgreement);
}
